package com.xjscrm.console.service.common.login;

import com.xjscrm.console.param.BaseDto;
import com.xjscrm.console.param.login.*;
import com.xjscrm.console.vo.LoginVO;

import javax.servlet.http.HttpServletRequest;

public interface LoginService {
    Long getUserId(HttpServletRequest request);
    Object loginByPwd(LoginByPwdDto loginByPwdDto);

    LoginVO register(RegisterDto registerDto);

    Object loginByCode(LoginByCodeDto loginByCodeDto);

    Object getBackPassword(GetBackPasswordDto getBackPasswordDto);

    LoginVO wxLogin(WxLogin wxLogin);

    void setPwd(SetPwdDto setPwdDto);

    void changePhone(ChangePhoneDto changePhoneDto);

    void changePwd(ChangePwdDto changePwdDto);

    Object getWxLoginQrCode(QrCodeDto qrCodeDto);

    void unbindWechat(BaseDto baseDto);

}
